import {ReactNode, Suspense} from 'react';
import {Loading} from '@/components/Loading.tsx';

export const LazyLoading = ({children}: {children: ReactNode}) => {
    return <Suspense fallback={<Loading />}>{children}</Suspense>;
};
